package com.cai.kcsj.service;

import com.cai.kcsj.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/5 13 : 13
 * @package：com.cai.kcsj.service
 */
public interface OrderServer {
    void buyOrder( Order order);
    List<Order> getOrder(Integer id,Integer current);
    void deleteorder(Integer id);
    int orderCount(@Param("id") Integer id);
}
